<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: ykj
  Date: 16/2/25
  Time: 下午2:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>华软理财-后台管理</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/login.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/easyui/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/bootstrap/js/jquery.bootstrap.min.js"></script>
    <script>
        $(document).ready(function(){

        });
        function loginCheck(){

        }
    </script>
</head>

<body>

    <div class="login">
        <h1>后台管理系统</h1>
        <form id="formlogin" method="post" action="loginService" onsubmit="return loginCheck();">
            <input type="text" id="username" name="username" placeholder="用户名" required="required" oninvalid="setCustomValidity('请填写用户名');" oninput="setCustomValidity('');"/>
            <input type="password" id="password" name="password" placeholder="密码" required="required" oninvalid="setCustomValidity('请填写密码');" oninput="setCustomValidity('');"/>
            <c:if test="${loginError}">
                <div class="error-tip">
                    用户名或密码错误,请重新填写
                </div>
            </c:if>
            <input id="loginBtn" type="submit" class="btn btn-primary btn-block btn-large">登录</input>
        </form>
    </div>
</body>
</html>
